//go:build prod

package main

import "github.com/micro-plat/hydra"

func init() {

	//设置api服务器端口，自定义app配置信息,conf install时安装到配置中心，启动时从配置中心获取配置信息
	hydra.Conf.API("10160").Sub("app", map[string]interface{}{
		"hosts":                    "wb-mall.qianxingniwo.com,api-mall.qianxingniwo.com",
		"logfile":                  "/var/log/nginx/access.log",
		"duration_hours":           1,
		"save_offset":              true,
		"enable_request_count":     true,
		"enable_request_duration":  true,
		"enable_status_code_count": true,
	})
}
